package zhihui.mobile.bean.shop.detail;

/**
 * Created by 张公铭 on 2017/9/5 0005.
 * 商品信息
 */

public class SpuDetailInfo
{
    private int id;         //
    private String code;    //编号
    private String title;   //标题
    private int specif;     //规格ID
    private int minprice;   //最小价格
    private int maxprice;   //最大价格
    private int parameter;  //参数ID
    private String rollimg = "";   //轮播图片
    private String spuimg = "";
    private String unit;    //单位
    private String name;    //名称
    private int autotrophy = 1; //是否自营

    public int getId()
    {
        return id;
    }

    public String getCode()
    {
        return code;
    }

    public String getTitle()
    {
        return title;
    }

    public int getSpecif()
    {
        return specif;
    }

    public int getMinprice()
    {
        return minprice;
    }

    public int getMaxprice()
    {
        return maxprice;
    }

    public int getParameter()
    {
        return parameter;
    }

    public String getRollimg()
    {
        return rollimg;
    }

    public String getUnit()
    {
        return unit;
    }

    public String getName()
    {
        return name;
    }

    public int getAutotrophy()
    {
        return autotrophy;
    }

    public String getSpuimg()
    {
        return spuimg;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public void setCode(String code)
    {
        this.code = code;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public void setSpecif(int specif)
    {
        this.specif = specif;
    }

    public void setMinprice(int minprice)
    {
        this.minprice = minprice;
    }

    public void setMaxprice(int maxprice)
    {
        this.maxprice = maxprice;
    }

    public void setParameter(int parameter)
    {
        this.parameter = parameter;
    }

    public void setRollimg(String rollimg)
    {
        this.rollimg = rollimg;
    }

    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public void setAutotrophy(int autotrophy)
    {
        this.autotrophy = autotrophy;
    }

    public void setSpuimg(String spuimg)
    {
        this.spuimg = spuimg;
    }
}
